package com.scau.model.business;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
@Entity
public class Material implements Serializable { 
	private Long id; 
	private String material_id; // 料号
	private String name; // 物料的名称
	private String description; // 物料的描述
	private Long type; // 物料的使用类型
	private Double repertory; // 物料的库存
	private String unit; // 单位
	private String comments; // 备注

	@Id
	@GeneratedValue
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getMaterial_id() {
		return material_id;
	}

	public void setMaterial_id(String material_id) {
		this.material_id = material_id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	
	public Long getType() {
		return type;
	}

	public void setType(Long type) {
		this.type = type;
	}

	

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public Double getRepertory() {
		return repertory;
	}

	public void setRepertory(Double repertory) {
		this.repertory = repertory;
	}

}
